package lab02.test35;
import java.util.Scanner;
public class Test35 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
Manager manager=new Manager();
Salesman salesman=new Salesman();
Worker worker=new Worker();
        System.out.println();

        //经理工资的输入
        System.out.println("请输入经理的固定工资");
        manager.Msalary=sc.nextDouble();
        manager.Salary();
        System.out.println();
//销售人员的工资输入
        System.out.println("请输入销售人员的基础工资和销售额和提成率");
        salesman.Ssalary=sc.nextDouble();
        salesman.sales=sc.nextDouble();
        salesman.bonus=sc.nextDouble();
        salesman.Salary();
        System.out.println();
//一般工人的工资输入
        System.out.println("请输入一般工人的每天工资和这个月工作天数");
        worker.Wsalary=sc.nextDouble();
        worker.day=sc.nextInt();
        worker.Salary();
    }
}
